package com.cl.cloud.tenant.logDemo;

/**
 * @description:
 * @author: liuzijian
 * @time: 2023-01-12 11:46
 */
public class LoggerFactory implements Logger {

    private Logger log;

    public LoggerFactory(Logger logger) {
        this.log = logger;
    }


    @Override
    public void info(Integer threadNum, Integer logNum) {
        log.info(threadNum, logNum);
    }

    @Override
    public void error(Integer threadNum, Integer logNum) {
        log.error(threadNum, logNum);
    }

    @Override
    public void warn(Integer threadNum, Integer logNum) {
        log.warn(threadNum, logNum);
    }

    @Override
    public void debug(Integer threadNum, Integer logNum) {
        log.debug(threadNum, logNum);
    }
}
